//
//  NSArray+Category.m
//  PhotoSetOC
//
//  Created by 金玉龙 on 16/1/4.
//  Copyright © 2016年 jinyulong. All rights reserved.
//

#import "NSArray+Category.h"

@implementation NSArray (Category)
//排序
- (void)sortModelWithProperty:(nullable NSString*)property ascending:(BOOL)ascending{
    NSSortDescriptor *descriptor = [NSSortDescriptor sortDescriptorWithKey:property ascending:ascending];
    self = [self sortedArrayUsingDescriptors:@[descriptor]];
}

@end
